﻿namespace GamFi.API.Application.Interfaces;

public interface ICleanupService
{
    /// <summary>
    /// Removes old messages to maintain a maximum limit.
    /// </summary>
    /// <param name="cancellationToken">Cancellation token to cancel the operation.</param>
    /// <returns>A task that represents the asynchronous operation.</returns>
    Task RemoveOldMessagesAsync(CancellationToken cancellationToken);
}